Skip to content

Add automated release workflow#13

Merged
kompre merged 1 commit into
devfrom
feature/automated-release-workflow
Oct 21, 2025
Merged

Add automated release workflow#13
kompre merged 1 commit into
devfrom
feature/automated-release-workflow

Conversation

@kompre

@kompre kompre commented Oct 21, 2025

Copy link
Copy Markdown
Owner

Summary

Implement label-driven release automation with version bumping:

  • Version Bump Workflow (version-bump.yml)

    • Triggers when bump labels are added to PRs
    • Applies multiple version bumps in single uv version command
    • Commits changes back to PR branch
    • Posts version change comment
    • Acts as required status check
  • Release Workflow (release.yml)

    • Triggers on merged PRs with release/test-release labels
    • Builds and tests package
    • Publishes to PyPI or TestPyPI based on label
    • Creates git tag matching version
    • Creates GitHub Release
  • Documentation

    • Added .github/RELEASE.md with complete release process guide
    • Updated CLAUDE.md with release workflow section
  • Cleanup

    • Removed deprecated python-publish.yml workflow

Changes

Testing Plan

  1. Test version bump workflow by adding bump labels to this PR
  2. Configure GitHub Environments (pypi, testpypi)
  3. Configure PyPI Trusted Publishing
  4. Test release to TestPyPI
  5. Configure branch protection rules
  6. Production release to PyPI

Related

🤖 Generated with Claude Code

Issues fixed:
- Remove 'synchronize' trigger to prevent multiple workflow runs
- Apply all version bumps in single uv command instead of sequential
- Now correctly handles: uv version --bump minor --bump rc

This fixes PR #11 where adding multiple labels triggered 3 separate
workflow runs, each failing because they tried to bump separately.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@kompre kompre merged commit ee7135f into dev Oct 21, 2025
@kompre kompre deleted the feature/automated-release-workflow branch October 21, 2025 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant